﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RivetProject.Model
{
    public class LoadMaterialMessage
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        [JsonProperty("equipmentCode")]
        public string EquipmentCode { get; set; }

        /// <summary>
        /// 产品码列表
        /// </summary>
        [JsonProperty("productSerialNumberList")]
        public List<string> ProductSerialNumberList { get; set; }

        /// <summary>
        /// 任务ID（第一次传，用于定位工序）
        /// </summary>
        [JsonProperty("taskId", NullValueHandling = NullValueHandling.Ignore)]
        public string TaskId { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        [JsonProperty("userId")]
        public long UserId { get; set; }
    }
}
